home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / graphics / scripts / DefineButton2_177 / BUTTONCONDACTION on(release).as < prev    next >
Encoding:
Text File  |  2002-03-20  |  597 b   |  18 lines

  1. on(release){
  2.    set("_level40/sound/lib:sound","106");
  3.    call("_level40/sound/lib:play");
  4.    tellTarget("_level50")
  5.    {
  6.       gotoAndStop("off");
  7.    }
  8.    gotoAndStop(1);
  9.    if(eval("_level0:" add eval("_level0:focus") add "_module") eq "mt")
  10.    {
  11.       path = "_level15/" add _name.substr("1","2") add "/mt/codelib";
  12.       if(!(eval(path add ":startday") != eval("_level0/data:thisday") and eval(path add ":startmonth") != eval("_level0/data:thismonth") and eval(path add ":startyear") != eval("_level0/data:thisyear")))
  13.       {
  14.       }
  15.       call(path add ":view day");
  16.    }
  17. }
  18.